﻿using WS.EKA.Model;

namespace WS.EKA.ServiceInterface
{
    /// <summary>
    /// User Account Service
    /// </summary>
    public interface IAccountService
    {
        Account GetByLoginId(string loginid);
        /// <summary>
        /// Authentication 
        /// </summary>
        /// <param name="userName">User Login Name</param>
        /// <param name="password">Password</param>
        /// <returns>Member LoginId</returns>
        Account Authentication(Account account);
        int Add(Account entity);

        bool UserExist(string loginId);
    }
}
